package edu.cuit.campus.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 业务状态码
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/8/7 15:07
 */
@Getter
@AllArgsConstructor
public enum ServiceStatus {
    SUCCESS(200, "OK"),
    FAIL(500, "Error"),
    NOT_FOUND(404, "Not Found"),
    UN_AUTHORIZED(401, "unauthorized");

    private int code;
    private String message;

}
